package ch03_test;

public class Demo2_3 {
	public static void main(String[] args) {
		int a = 3, b = 5;

		if (a == 3)

			if (b == 1)
				a++;

			else

				b++;

		System.out.println(a + "," + b);
		int x = 1, y = 4;
		if (x == 2) {

			if (y == 4)

				x++;
		} else

			y++;

		System.out.println(x + "," + y);
	}
}
